package com.zyh.zhukang.demand.entity;

/**
 * 作者:zhuyunhao
 * 时间:2020/1/16 0016 14:12
 */
public class Demand {
    private String img;//商品图片
    private Integer type;//商品类型(0非处方,1处方)
    private String title;//商品标题
    private Double price;//会员价
    private Integer userId;//关联的用户id

    public Demand() {
    }

    public Demand(String img, Integer type, String title, Double price, Integer userId) {
        this.img = img;
        this.type = type;
        this.title = title;
        this.price = price;
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Demand{" +
                "img='" + img + '\'' +
                ", type=" + type +
                ", title='" + title + '\'' +
                ", price=" + price +
                ", userId=" + userId +
                '}';
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}
